This is an alternative solution of the part 3 (Maps/Dictionnary) exercise, which does not use a nested class Pair, but instead uses Pair as a normal class with its variables private with getters/setters.

Since nested classes will be taught this week, this is a temporary solution until all students have seen and used nested classes.